import QtQuick 2.15
import QtQuick.Window 2.15
//import an.gdu.VideoWidget 1.0

Window {
    id: root
    width: 640
    height: 480
    visible: true
    title: qsTr("Hello World")
    objectName: "rootWindow"

    // 左边视频, 视频需要将句柄给音视频组
    Rectangle {
        id: video
        anchors.left: parent.left
        anchors.top: parent.top
        anchors.bottom: parent.bottom
        width: root.width/2
        objectName: "video"
        color: "#ff0000"
    }

    // 右边qml页面
    Rectangle {
        id: rightQml
        anchors.right: parent.right
        anchors.top: parent.top
        anchors.bottom: parent.bottom
        width: root.width/2
        objectName: "rightQml"

        Text {
            anchors.fill: parent
            text: "qml content"
        }
    }


}
